package com.nlgc365.designpattern.Chapter02_Principle.P01_SRP.CorrectExample1;

public class GraphicalShape extends Shape {
   private String message;
   public GraphicalShape(double width, double height, String message) {  
       super(width, height);  
       this.message = message;  
   }
   public void draw() {
       System.out.println(message);  
   }  
}